﻿// -----------------------------------------------------------------------
// <copyright file="ShellViewModel.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace ShopShell.ViewModel
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ShopShell.Commands;
    using ShopShell.ProductCommands;
    using ShopShell.OrderCommands;
    using ShopShell.CustomerCommands;
    using ShopShell.PlaceCommands;
    using ShopShell.ProducerCommands;

    /// <summary>
    /// Main Shell ViewModel
    /// </summary>
    public partial class ShellViewModel
    {
        #region Constructor

        public ShellViewModel()
        {
            ///Create Product commands
            m_cmdProductShowCommand = new ProductShowCommand();
            m_AddCategoriesCommand = new AddCategoriesCommand();
            m_AddProductsCommand = new AddProductsCommand();
            m_AddSubCategoriesCommand = new AddSubCategoriesCommand();
            m_CompareCommand = new CompareCommand();
            m_EditCategoriesCommand = new EditCategoriesCommand();
            m_EditProductsCommand = new EditProductsCommand();
            m_EditSubCategoriesCommand = new EditSubCategoriesCommand();


            ///Create Order commands
            m_cmdOrderShowCommand = new OrderShowCommand();
            m_AddOrderCommand = new AddOrderCommand();
            m_AddToChartCardCommand = new AddToChartCardCommand();
            m_AssignMeCommand = new AssignMeCommand();
            m_CancelOrderCommand = new CancelOrderCommand();
            m_DeleteFromChartCardCommand = new DeleteFromChartCardCommand();
            m_EditOrderCommand = new EditOrderCommand();
            m_PayedCommand = new PayedCommand();
            m_PrintOrderCommand = new PrintOrderCommand();            


            ///Create Customer commands
            m_cmdCustomerShowCommand = new CustomerShowCommand();
            m_cmdCustomerAddCommand = new CustomerAddCommand();


            ///Create Place commands
            m_ShowPlacesCommand = new ShowPlacesCommand();
            m_AddPlaceCommand = new AddPlaceCommand();

            //Create Producer commands
            m_ShowProducersCommand = new ShowProducersCommand();
            m_AddProducerCommand = new AddProducerCommand();
        }

        #endregion Constructor
    }
}
